package com.credithc.signature.manager.controller;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2021年04⽉20⽇<br/>
 * @version：v1.0.0<br>
 */
@RestController
@RequestMapping("/api/manager/v1")
public class HealthCheck {


    @GetMapping("/healthCheck")
    public String healthCheck() {
        JSONObject object = new JSONObject();
        object.put("code", 0);
        object.put("msg", "检测成功");
        return object.toJSONString();
    }
}
